home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 7_docs / Server_numerics < prev    next >
Encoding:
Text File  |  2001-03-21  |  1.3 KB  |  27 lines

  1. Hooking Server Numerics                                                     
  2.  
  3. In addition to the numerous named hooks provided by the client (refer to the
  4. ON command in Section 5), EPIC can hook any numeric reply sent by a server.
  5. They are treated no differently from named hooks.  Space constraints prevent
  6. a full discussion of all server numerics, not to mention that they tend to
  7. differ from network to network.
  8.  
  9. A small subset of commonly used numerics are provided for convenience.  A
  10. mostly full listing can be found in the irc protocol specification, RFC 1459
  11. (though you should look in the ircd source code for an exact list; they are
  12. in the file s_err.c in standard ircd distributions).
  13.  
  14.    Replies to /whois:   311-313, 317-319
  15.    Replies to /mode +b: 367, 368
  16.    Replies to /trace:   200-206, 208, 209, 261, 262
  17.    Replies to /stats:   211-219, 241-244
  18.  
  19.    Common error numerics: 401 (nickname doesn't exist)
  20.                         : 404 (can't send message to channel)
  21.                         : 421 (unknown command)
  22.                         : 436 (nickname collision server kill)
  23.                         : 465 (you're banned from server)
  24.                         : 473 (can't going channel, invite-only)
  25.                         : 482 (you're not a channel operator)
  26.  
  27.